<template>
  <!-- <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </nav>
  <router-view/> -->
  <div class="parent-container">
    <VideoHLS />
  </div>
  <div class="userico" style="font-size: 30px">
    <el-icon><Avatar /></el-icon>
    <ul class="list">
    <li>列表项1</li>
    <li>列表项2</li>
    <li>列表项3</li>
  </ul>
  </div>
</template>
<script>
import VideoHLS from "./components/VideoHLS.vue";
export default {
  components: {
    VideoHLS
  },
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
.parent-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95vh;
}
body {
  overflow: hidden;
}
.userico {
  position: absolute;
  top: 0;
  right: 0;
  margin: 15px;
}


.list {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  padding: 5px;
  background-color: #f1f1f1;
}

.userico:hover .list {
  display: block;
}
</style>